package com.pyrsana.faith.retreat

import com.pyrsana.contact.Address
import com.pyrsana.faith.membership.Profile

class Ride {
    
    static hasMany = [assignments:RideAssignment]
    
    Profile pointOfContact
    int seats
    String notes
    Address to
    Address from

    static constraints = {
        pointOfContact (nullable:false)
        seats (max:100)
        notes (size:0..2550, blank:true)
    }
}
